<?php
namespace app\middleware;

use Tinywan\Jwt\JwtToken;
use Webman\MiddlewareInterface;
use Webman\Http\Response;
use Webman\Http\Request;

class Auth implements MiddlewareInterface
{
    public function process(Request $request, callable $next) : Response
    {
        $verify = JwtToken::verify();
        if ($verify){
            return $next($request);
        }
    }
    
}
